package com.light.controller.controller;


import com.light.dao.Hello;
import com.light.service.Peter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MainController {



    @Autowired
    Peter peter;

    @GetMapping("/")
    public String aa() {


        return peter.helllo();
    }
}
